package cn.readjava.dao;

import cn.readjava.bean.RolePermission;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface RolePermissionDao extends JpaRepository<RolePermission, Long> {

    List<RolePermission> findAllByRId(Long id);
}
